package com.jiacloud.web.service;

import com.jiacloud.web.serviceImp.UserInfoServiceInfoImp;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "EUREKA-CLIENT",fallback = UserInfoServiceInfoImp.class)
public interface UserInfoService {

    @GetMapping("/user")
    String getUser();
}
